﻿<div ng-controller="ManageUserRolesController">
    <form ng-submit="saveChanges()">
        <ul ng-tree="rolesList">
            <li each="obj in ChildrenRoles"><input ng-click="selected2()" type="checkbox" ng-checked="user.rolesId.indexOf(obj.Id) > -1" name="mehdi" value="" /> {{obj.Name}} </li>
        </ul>
        <button type="submit" class="btn btn-success">ذخیره تغییرات</button>
    </form>
</div>
